package com.fastloan.safe.mgt.auth.service.impl;

import com.fastloan.safe.mgt.auth.dao.CmuUserFunMapper;
import com.fastloan.safe.mgt.auth.model.CmuUserFun;
import com.fastloan.safe.mgt.auth.service.CmuUserFunService;
import com.kawins.base.BaseMapper;
import com.kawins.base.baseabs.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CmuUserFunServiceImpl extends BaseServiceImpl<CmuUserFun> implements CmuUserFunService {

    @Autowired
    private CmuUserFunMapper userFunMapper;

    @Override
    protected BaseMapper<CmuUserFun> buildDao() {
        return userFunMapper;
    }

    @Override
    public void insertList(List<CmuUserFun> list) {
        userFunMapper.insertList(list);
    }
}
